package com.qhong.config;

import java.util.List;
import java.util.Map;
import lombok.Data;
import lombok.ToString;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * Created by qhong on 2018/6/12 17:54
 **/
@Component
@Data
@ToString
@ConfigurationProperties(prefix="global.config")
public class GlobalConfig {

	private List<String> list;

	private Map<String, String> map;
}
